package org.shilong.Utility;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

/**
 * 
 * @author cesc
 * 跳转工具类
 *
 */
public class IntentUtility {

	private static Intent mIntent = null;


	/**
	 * 跳转
	 * @param mContext
	 * @param mClass
	 */
	public static void goNextFrame( Context mContext, Class<?> mClass, Bundle bundle ){

		mIntent = null;

		mIntent = new Intent(mContext, mClass );

		if( bundle != null ) mIntent.putExtras( bundle );


		mContext.startActivity(mIntent);
	}
}
